#define _CRT_SECURE_NO_WARNINGS 1

#include "SList.h"

int main()
{
	SLTNode* plist = NULL;
	SListPushBack(&plist, 5);
	SListPushBack(&plist, 4);
	SListPushBack(&plist, 3);
	SListPushBack(&plist, 2);
	SListPushBack(&plist, 1);

	SLTNode* find = SListFind(plist, 5);
	SListErase(&plist, find);
	SListPrint(plist);
	SListDestory(&plist);
	SListPrint(plist);
	return 0;
}